package cn.dnui_cr503.dnuifood_16110100503.service;

import java.util.List;

import cn.dnui_cr503.dnuifood_16110100503.bean.CommentsBean;
import cn.dnui_cr503.dnuifood_16110100503.bean.FoodBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by chengrui on 2018/11/16.
 */

public interface FoodService {
    @GET("getFoodByShop.do")
    Call<List<FoodBean>> getFoodByShop(@Query("shop_id") String shop_id);

    @GET("getFoodById.do")
    Call<FoodBean> getFoodById(@Query("food_id") String food_id);

    @GET("getAllCommentsByFood.do")
    Call<List<CommentsBean>> getAllCommentsByFood(@Query("food_id") String food_id);
}
